package com.qf.service.impl;

import com.qf.mapper.MaterialMapper;
import com.qf.service.MaterialService;
import com.qf.vo.MaterialVo;
import com.qf.vo.StorageVo1;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author zdl
 * @date 2025/2/15
 */
@Service
public class MaterialServiceImpl implements MaterialService {
    @Resource
    private MaterialMapper  materialMapper;
    @Override
    public List<MaterialVo> findAllMaterial() {
        return materialMapper.selectAllMaterial();
    }

    @Override
    public List<StorageVo1> findAllMaterials() {
        return materialMapper.selectAllMaterials();
    }
}
